package com.szrt.oa.menu.entity;

import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.context.annotation.Scope;

/**
 * `ID` int(11) NOT NULL AUTO_INCREMENT,
  `MENU_NAME` varchar(255) DEFAULT NULL,
  `URL` varchar(255) DEFAULT NULL,
 * @author My
 *
 */

@Scope("prototype")
@Table(name="oa_menu_t")
public class MenuEntity {
	
	@Id
	private Integer id;
	
	private String menuName;
	
	private String url;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	

	

	public String getMenuName() {
		return menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	@Override
	public String toString() {
		return "MenuEntity [id=" + id + ", menuName=" + menuName + ", url=" + url + "]";
	}

	
}
